'use strict';

module.exports = app => {
    class TeacherinfoController extends app.Controller {

        //教师信息
        async teacherinfoedit(){
            const data = await this.service.my.getteacherinfo();
            await this.ctx.render("/my/user/user-edit.html",{data});
        };

        //修改教师手机号
        async editphone(){
            await this.ctx.render("/my/user/edit-phone.html");
        }
    }
    return TeacherinfoController;
};

